package collection;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class ArrayToListDemo {
    public static void main(String[] args) {
        String[]array={"1","?","打"};
        List<String>list= Arrays.asList(array);
        System.out.println(list);
        List<String>list12=new ArrayList<>();
        list12.add("niganma");
        System.out.println(list12);

    }
}
